package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.FacilitiesBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IFacilitiesMapper extends BaseMapper<FacilitiesBean> {
    public List<FacilitiesBean> findByRoomId(Integer id);

    public int findFacilitiesNum(@Param("roomId") Integer roomId, @Param("state") String state);
}
